package com.ak.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author xk
 * @create 2023/12/4 15:44
 * @since 1.0.0
 */
@Getter
@Setter
@RefreshScope
@ConfigurationProperties(GatewayConfigProperties.PREFIX)
public class GatewayConfigProperties {

    public static final String PREFIX = "gateway.route.config";
    /* 读取配置的超时时间 */
    public static final long DEFAULT_TIMEOUT = 30000;

    public String data_id;
    public String group;

    public String nacos_server_addr;
    public String nacos_namespace;
    public String nacos_route_data_id;
    public String nacos_route_group;

}
